package com.umpay.dto.merAccess.req.consume;

import org.hibernate.validator.constraints.NotEmpty;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;

/*******************************************************************
 * description : 外部交易入账文件上传通知
 * @author zhangru
 * @date 2018年4月20日 上午10:35:59
 * @version 1.0
 *******************************************************************/
	public class ConsumeFileUploadNotifyReq extends CommonReq{

		@NotEmpty(message = "服务器异步通知路径不能为空")		
		@Pattern(message = "服务器异步通知路径格式不正确")
		private String notify_url;//	服务器异步通知路径
		
		@NotEmpty(message = "业务日期不能为空")		
		@Pattern(message = "业务日期格式不正确")
		private String busi_date;//	业务日期
		
		@NotEmpty(message = "业务类型不能为空")		
		@Pattern(message = "业务类型格式不正确")
		private String busi_id;//	业务类型
		
		@NotEmpty(message = "批次号不能为空")		
		@Pattern(message = "批次号格式不正确")
		private String batch_id;//	批次号
		
		@NotEmpty(message = "请求总金额不能为空")		
		@Pattern(message = "请求总金额格式不正确")
		private String total_amt;//	请求总金额
		
		@NotEmpty(message = "请求总条目数不能为空")		
		@Pattern(message = "请求总条目数格式不正确")
		private String total_num;//	请求总条目数
		
		@NotEmpty(message = "文件MD5值不能为空")		
		@Pattern(message = "文件MD5值格式不正确")
		private String file_md5;//	文件MD5值

		public String getNotify_url() {
			return notify_url;
		}

		public void setNotify_url(String notify_url) {
			this.notify_url = notify_url;
		}

		public String getBusi_date() {
			return busi_date;
		}

		public void setBusi_date(String busi_date) {
			this.busi_date = busi_date;
		}

		public String getBusi_id() {
			return busi_id;
		}

		public void setBusi_id(String busi_id) {
			this.busi_id = busi_id;
		}

		public String getBatch_id() {
			return batch_id;
		}

		public void setBatch_id(String batch_id) {
			this.batch_id = batch_id;
		}

		public String getTotal_amt() {
			return total_amt;
		}

		public void setTotal_amt(String total_amt) {
			this.total_amt = total_amt;
		}

		public String getTotal_num() {
			return total_num;
		}

		public void setTotal_num(String total_num) {
			this.total_num = total_num;
		}

		public String getFile_md5() {
			return file_md5;
		}

		public void setFile_md5(String file_md5) {
			this.file_md5 = file_md5;
		}

		@Override
		public String toString() {
			return "ConsumeFileUploadNotifyReq [" + super.toString()
					+ ",notify_url=" + notify_url + ", busi_date=" + busi_date + ", busi_id="
			        + busi_id + ", batch_id=" + batch_id + ", total_amt=" + total_amt + ", total_num=" + total_num
			        + ", file_md5=" + file_md5 + "]";
		}
		
	}
		